all: level1 middlelevel lastlevel

level1:
	gcc -o firstlvl Level1Node.c
	
middlelevel:
	gcc -o mdlvl Level2and3Node.c
	
lastlevel: 
	gcc -o lastlvl FinalLevel.c
	
debug: renamelvl1 renamemdlvl renamelastlvl

renamelvl1: dblvl1
	mv dblvl1 a.out

renamemdlvl: dbmdlvl
	mv dbmdlvl a.out

renamelastlvl: dblastlvl
	mv dblastlvl a.out

dblvl1:
	gcc -g Level1Node.c timing.h
	
dbmdlvl:
	gcc -g Level2and3Node.c timing.h
	
dblastlvl:
	gcc -g FinalLevel.c timing.h
	
clear:
	rm *.o
	
db_clear:
	rm db*
